Optimal. Leaf size=48 \[ -\frac{1}{9} \sqrt{-9 x^2+12 x-4}-\frac{2 (2-3 x) \log (2-3 x)}{9 \sqrt{-9 x^2+12 x-4}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0105578, antiderivative size = 48, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.188, Rules used = {640, 608, 31} \[ -\frac{1}{9} \sqrt{-9 x^2+12 x-4}-\frac{2 (2-3 x) \log (2-3 x)}{9 \sqrt{-9 x^2+12 x-4}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 640
Rule 608
Rule 31
Rubi steps
\begin{align*} \int \frac{x}{\sqrt{-4+12 x-9 x^2}} \, dx &=-\frac{1}{9} \sqrt{-4+12 x-9 x^2}+\frac{2}{3} \int \frac{1}{\sqrt{-4+12 x-9 x^2}} \, dx\\ &=-\frac{1}{9} \sqrt{-4+12 x-9 x^2}+\frac{(2 (6-9 x)) \int \frac{1}{6-9 x} \, dx}{3 \sqrt{-4+12 x-9 x^2}}\\ &=-\frac{1}{9} \sqrt{-4+12 x-9 x^2}-\frac{2 (2-3 x) \log (2-3 x)}{9 \sqrt{-4+12 x-9 x^2}}\\ \end{align*}
Mathematica [A] time = 0.0111983, size = 35, normalized size = 0.73 \[ \frac{(3 x-2) (3 x+2 \log (2-3 x)-2)}{9 \sqrt{-(2-3 x)^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.096, size = 31, normalized size = 0.7 \begin{align*}{\frac{ \left ( -2+3\,x \right ) \left ( 3\,x+2\,\ln \left ( -2+3\,x \right ) \right ) }{9}{\frac{1}{\sqrt{- \left ( -2+3\,x \right ) ^{2}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [C] time = 1.70781, size = 28, normalized size = 0.58 \begin{align*} -\frac{1}{9} \, \sqrt{-9 \, x^{2} + 12 \, x - 4} + \frac{2}{9} i \, \log \left (x - \frac{2}{3}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] time = 1.59583, size = 42, normalized size = 0.88 \begin{align*} -\frac{1}{3} i \, x - \frac{2}{9} i \, \log \left (x - \frac{2}{3}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x}{\sqrt{- \left (3 x - 2\right )^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \mathit{undef} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]